import streamlit as st
st.title('test counter')
st.caption('only showcase')
if 'counter' not in st.session_state:
    st.session_state['counter'] = 0
def press():
    st.session_state['counter'] += 1
st.button("press to incream",on_click=press)
st.write(st.session_state['counter'])